import { observable } from 'mobx';
import { GetUserList } from '@src/service/userApi';

const LoginStore = observable({

    title: 'LoginStore2',

    midPicList: [
        'https://pic4.40017.cn/line/admin/2016/08/11/18/dvnfaP_568x_02.jpg',
        'https://pic4.40017.cn/line/admin/2016/08/11/18/3j7heB_568x_02.jpg',
        'https://pic3.40017.cn/line/admin/2016/02/14/18/2YMRJy_430x270_00.jpg'
    ],

    userList: [],

    async getUserList() {
        this.userList = await GetUserList();
    }
})

export default LoginStore;